package com.kgc.maven.person.pojo;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;
//@Component
//public class CustomUserDetailsService implements UserDetailsService{

/*	@Override
	public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
		if("user".equals(username)) {
			return new SecurityUser("user","pasword1","user-role");
		}else if("admin".equals(username)) {
			return SecurityUser("admin","pasword2","admin-role");
		}else {
			return null;
		}
	}*/
	
//}
